static char *nolabels = NULL;
static char *genurl = NULL;
static char *margin = "15%";
-static char *scale = "768";
+static char *xpixels = "768";
+static char *ypixels = "768";
static char *snlen = NULL;
static char *oldthresh = "14";
static char *oldmarker = "redpin";
ARGTYPE_OUTFILE },
{"margin", &margin, "Margin for map. Degrees or percentage.",
ARGTYPE_FLOAT},
- {"scale", &scale, "Dimension in pixels of map.",
- ARGTYPE_INT},
{"snlen", &snlen, "Max shortname length when used with -s.",
ARGTYPE_INT},
{"oldthresh", &oldthresh, "Days after which points are considered old.",
ARGTYPE_STRING},
{"newmarker", &newmarker, "Marker type for new points.",
ARGTYPE_STRING},
+ {"suppresswhite", &suppresswhite,
+ "Suppress whitespace in generated shortnames", ARGTYPE_BOOL },
{"unfoundmarker", &unfoundmarker, "Marker type for unfound points.",
ARGTYPE_STRING},
- { "suppresswhite", &suppresswhite,
- "Suppress whitespace in generated shortnames", ARGTYPE_BOOL },
+ {"xpixels", &xpixels, "Width in pixels of map.",
+ ARGTYPE_INT},
+ {"ypixels", &ypixels, "Height in pixels of map.",
+ ARGTYPE_INT},
#if CLICKMAP
{"clickmap", &clickmap, "Generate Clickable map web page.",
ARGTYPE_BOOL},
dscale(latsz),
dscale(lonsz));
- if (scale) {
- fprintf(urlf, "&iwd=%s&iht=%s", scale, scale);
- }
+ fprintf(urlf, "&iwd=%s&iht=%s", xpixels, ypixels);
fclose(urlf);
#if CLICKMAP
if (clickmap) {